package jlfm.lastfm.client.impl.simple;

/**
 * @author Richter_P
 * 
 */
public class ProxyConfiguration {
	private boolean useProxy = false;
	private String proxyHost = "";
	private int proxyPort = 80;

	public ProxyConfiguration() {
	}

	public ProxyConfiguration(String host, int port) {
		this.proxyHost = host;
		this.proxyPort = port;
		this.useProxy = true;
	}

	/**
	 * @return the useProxy
	 */
	public boolean isUseProxy() {
		return useProxy;
	}

	/**
	 * @param useProxy
	 *            the useProxy to set
	 */
	public void setUseProxy(boolean useProxy) {
		this.useProxy = useProxy;
	}

	/**
	 * @return the proxyHost
	 */
	public String getProxyHost() {
		return proxyHost;
	}

	/**
	 * @param proxyHost
	 *            the proxyHost to set
	 */
	public void setProxyHost(String proxyHost) {
		this.proxyHost = proxyHost;
	}

	/**
	 * @return the proxyPort
	 */
	public int getProxyPort() {
		return proxyPort;
	}

	/**
	 * @param proxyPort
	 *            the proxyPort to set
	 */
	public void setProxyPort(int proxyPort) {
		this.proxyPort = proxyPort;
	}
}
